<?php
class ErrorController extends yaf_controller_abstract {
	function init(){
		Yaf_Dispatcher::getInstance()->disableView();
	}
	public function errorAction($exception) {
		echo $exception->getMessage();
	}

}
